package com.darkplanet.management.dao;

import com.darkplanet.management.domain.Role;

import java.sql.SQLException;
import java.util.List;

public interface IRoleDao {

     Role getRoleId(Integer id);
     List<Role> getRoles() ;
      void addRole(String type);
      void deleteRole(Integer id);
      //Role queryRole(Integer id);
      List queryAllRole();

}
